//
//  NSColor_withRGBASupport.m
//  Thanatos
//
//  Created by Joel Owens on 5/15/10.
//  Copyright 2010 Na'Shenassi.org. All rights reserved.
//

#import "NSColor_withRGBASupport.h"


@implementation NSColor ( RGBASupport )
+ (NSColor *)colorWithRed:(int)redValue green:(int)greenValue blue:(int)blueValue alpha:(int)alphaValue {
  
  return [NSColor colorWithCalibratedRed:((float)redValue/255.0)
                                   green:((float)greenValue/255.0)
                                    blue:((float)blueValue/255.0)
                                   alpha:((float)alphaValue/100)
          ];
  
}

@end
